'The Related Posts』的搜索结果

'The Related Posts』的搜索结果


正在查看 1 结果:1-1 (共 1 个结果)
  • 作者
    搜索结果
  • weblog
    参与者
    • 文章数量: 26
    @weblog

    在  \WWW\wordpress\wp-content\plugins\bbpress\includes\topics\template.php     146行时有定义

    $default = array(
    ‘post_type’ => bbp_get_topic_post_type(),

    ‘is_essence’ => 1,
    ‘post_parent’ => $default_post_parent, // Forum ID
    ‘meta_key’ => ‘_bbp_last_active_time’, // Make sure topic has some last activity time
    ‘meta_type’ => ‘DATETIME’,
    ‘orderby’ => ‘meta_value’, // ‘meta_value’, ‘author’, ‘date’, ‘title’, ‘modified’, ‘parent’, rand’,
    ‘order’ => ‘DESC’, // ‘ASC’, ‘DESC’
    ‘posts_per_page’ => bbp_get_topics_per_page(), // Topics per page
    ‘paged’ => bbp_get_paged(), // Page Number
    ‘show_stickies’ => $default_show_stickies, // Ignore sticky topics?
    ‘max_num_pages’ => false, // Maximum number of pages to show

    // Conditionally prime the cache for related posts
    ‘update_post_family_cache’ => true
    );

     

    我加了一个 条件 ‘is_essence’ => 1, 怎么一直获取不到只有  ‘is_essence’ =为 1的数据。

正在查看 1 结果:1-1 (共 1 个结果)

未找到对应子版块?请直接在 [疑难杂症] 版块中发帖提问。

收藏纪念品


有奖活动

参与论坛社区问答,有机会获赠文派瓦普(Wapuu.com)手办模型。